package com.day4.protocal.command;

import lombok.Data;

/**
 * @author leonard
 * @Description 定义登录指令的通信对象
 * @date 2021-05-24 11:46
 */
@Data
public class LoginRequestPacker extends Packet {

    private Integer userId;

    private String username;

    private String password;

    @Override
    public Byte getCommand() {
        //获取登录指令
        return Command.LOGIN_REQUEST;
    }
}
